package com.cs.service.article;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cs.pojo.Article;

import java.util.List;

public interface IArticleService extends IService<Article> {

    IPage<Article> getPage(int currentPage, int pageSize);

    List<Article> getByTitle(String topic);

    IPage<Article> getPageByTitle(int currentPage, int pageSize,String topic);

    Article getInUsing();

    Boolean setUsingArticle(Integer id);



}
